/**
 * practice
 */
package com.thinkgem.jeesite.zmis.practice.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 顶岗信息登记表Entity
 * @author ll
 * @version 2017-10-11
 */
public class ZmisPractice extends DataEntity<ZmisPractice> {
	
	private static final long serialVersionUID = 1L;
	private String stuId;		// 学生编号
	private String companyName;		// 实习单位名称
	private String companyAddress;		// 实习单位地址
	private String companyContacts;		// 实习单位联系人
	private String companyPhone;		// 实习单位联系电话
	private String companyPost;		// 实习岗位
	private String companySalary;		// 实习薪酬
	private String advisor;		// 指导老师
	private String tyap;		// 教学单位统一安排（是﹨否）
	private String jxjd;		// 校外实践教学基地（是﹨否）
	
	public ZmisPractice() {
		super();
	}

	public ZmisPractice(String id){
		super(id);
	}

	@Length(min=1, max=64, message="学生编号长度必须介于 1 和 64 之间")
	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}
	
	@Length(min=0, max=64, message="实习单位名称长度必须介于 0 和 64 之间")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	@Length(min=0, max=64, message="实习单位地址长度必须介于 0 和 64 之间")
	public String getCompanyAddress() {
		return companyAddress;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}
	
	@Length(min=0, max=20, message="实习单位联系人长度必须介于 0 和 20 之间")
	public String getCompanyContacts() {
		return companyContacts;
	}

	public void setCompanyContacts(String companyContacts) {
		this.companyContacts = companyContacts;
	}
	
	@Length(min=0, max=20, message="实习单位联系电话长度必须介于 0 和 20 之间")
	public String getCompanyPhone() {
		return companyPhone;
	}

	public void setCompanyPhone(String companyPhone) {
		this.companyPhone = companyPhone;
	}
	
	@Length(min=0, max=64, message="实习岗位长度必须介于 0 和 64 之间")
	public String getCompanyPost() {
		return companyPost;
	}

	public void setCompanyPost(String companyPost) {
		this.companyPost = companyPost;
	}
	
	@Length(min=0, max=20, message="实习薪酬长度必须介于 0 和 20 之间")
	public String getCompanySalary() {
		return companySalary;
	}

	public void setCompanySalary(String companySalary) {
		this.companySalary = companySalary;
	}
	
	@Length(min=0, max=20, message="指导老师长度必须介于 0 和 20 之间")
	public String getAdvisor() {
		return advisor;
	}

	public void setAdvisor(String advisor) {
		this.advisor = advisor;
	}
	
	@Length(min=0, max=1, message="教学单位统一安排（是﹨否）长度必须介于 0 和 1 之间")
	public String getTyap() {
		return tyap;
	}

	public void setTyap(String tyap) {
		this.tyap = tyap;
	}
	
	@Length(min=0, max=1, message="校外实践教学基地（是﹨否）长度必须介于 0 和 1 之间")
	public String getJxjd() {
		return jxjd;
	}

	public void setJxjd(String jxjd) {
		this.jxjd = jxjd;
	}
	
}